home *** CD-ROM | disk | FTP | other *** search
- DELCHAR.EXE
- Deletes Unwanted Characters from File
- (c) Copyright 1988 by Larry O'Rear
-
-
- Sometimes a file has characters that you don't really want
- or need. For example, you might like to get rid of some of the
- control characters in a shareware manual that mess up your screen
- or make your printer do things you don't want it to do. I use a
- database program that outputs ASCII files in which the records
- are delimited by pairs of double quotes which I don't want.
-
- Here's a little program that will get rid of those pesky
- characters. You'll need a table that gives the ASCII codes of
- the characters (unless you carry that kind of knowledge around in
- your head) to find the numbers to enter.
-
- Type the command DELCHAR. You will be prompted for the name
- of the file (with path and extension, if applicable) to be
- cleaned up, and then for the decimal ASCII code of the character
- to be removed. For example, to remove all the double quotes from
- my file mentioned above, I enter 34.
-
- Your output file will be named CLEANFIL.OUT. Of course you
- can rename it if you want to. Or if you want to remove still
- another character, just run DELCHAR again, with CLEANFIL.OUT as
- the input file.
-
- Your original file is not changed. After using DELCHAR on
- the double quotes as mentioned above, my file ADDRBOOK.LST is
- still there with the quotation marks in all their glory. But now
- I have the new file CLEANFIL.OUT, innocent of double quotes.
-
-
- This program and documentation are distributed under the
- Shareware philosophy. If you find the program useful, please
- send $5 to
- Larry O'Rear
- 703 Cielo Drive
- Georgetown, TX 78628
-
- (If you register another of my programs, this one's a freebie.
- I'll even send this source code if you ask when you register.)
-
- Users employ this software at their own risk. The author
- will not be responsible in any way for any consequences of the
- use or misuse of the program or of the documentation. Your use
- of the program constitutes your acceptance of these conditions.
-
- This software may be copied and distributed freely with
- these restrictions:
-
- 1. No price may be charged, except that a fee not to exceed
- $7 may be applied to cover the costs of copying and distribution.
-
- 2. This documentation must be included in its entirety with
- any copies.
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- The Public (Software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. The P(s)L cannot de-
- bug programs over the telephone.
-
- Disks in the P(s)L are updated monthly, so if you did not get
- this disk directly from the P(s)L, you should be aware that
- the files in this set may no longer be the current versions.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 1,000+ disks in the library, call or write
-
- The Public (Software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
- (713) 665-7017
-